#include <dolphin/ip.h>
s32 IPSetConfigError(IPInterface* interface, s32 err);
IPSetConfigError() sets the host configuration error code. The
error code is a sticky code and IPSetConfigError() does not
overwrite the error code unless the current code is IP_ERR_NONE.
interface |
Pointer to IPInterface to set the host configuration error
code. Use
NULL to specify the default network interface. |
err |
The host configuration error code to set. |
IPSetConfigError() returns the new configuration error code:
IP_ERR_NONE |
Ok. |
IP_ERR_DHCP_TIMEOUT |
Could not find any DHCP server. |
IP_ERR_DHCP_EXPIRED |
The lease time of the assigned IP address is expired. |
IP_ERR_DHCP_NAK |
The DHCP server rejected the configuration request. |
IP_ERR_PPPoE_TIMEOUT |
Could not find any access concentrator. |
IP_ERR_PPPoE_SERVICE_NAME |
The requested service-name request could not be honored. |
IP_ERR_PPPoE_AC_SYSTEM |
The access concentrator experienced some error. |
IP_ERR_PPPoE_GENERIC |
An unrecoverable error occured. |
IP_ERR_LCP |
LCP negotiation error |
IP_ERR_AUTH |
Authentication error |
IP_ERR_IPCP |
IPCP negotiation error |
IP_ERR_PPP_TERMINATED |
The access concentrator terminated the PPPoE session. |
IP_ERR_ADDR_COLLISION |
Detected duplicate IP address in the network. |
IP_ERR_LINK_DOWN |
Lost link pulses from the network. Check the wiring configuration for
the adapter. IP_ERR_LINK_DOWN error is set when the link goes
down that has been up. |